<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>TASK-LIST | SHOW</title>
  <link rel="stylesheet" href="./stylesheets/show.css">
</head>
<body>

<nav class="navbar navbar-expand-lg navbar-light bg-dark">
  <a class="navbar-brand" href="#">TASK</a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>

  <div class="collapse navbar-collapse" id="navbarSupportedContent">
    <ul class="navbar-nav mr-auto">
      <li class="nav-item active">
        <a class="nav-link" href="./index.html">首页</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="./about.html">关于我们</a>
      </li>
    </ul>
  </div>
</nav>
<div class="container">
  <h1 class="display-1">Show</h1>
  <hr>
  <div class="h4" id="content">加载中...</div>
  <p id="desc">加载中...</p>
  <hr>
  <div class="btn-wrapper">
    <a href="javascript:void (0)" class="btn btn-warning">修改</a>
    <a href="javascript:void (0)" data-toggle="modal" data-target="#exampleModal" class="btn btn-danger">删除</a>
  </div>
</div>


<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">危险操作</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        你确定要删除此数据吗？
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
        <button type="button" class="btn btn-danger" id="del">确定删除</button>
      </div>
    </div>
  </div>
</div>


<script src="./javascripts/show.js"></script>
</body>
</html>